<%--
  Created by IntelliJ IDEA.
  User: yinhao
  Date: 2024/9/6
  Time: 22:04
  To change this template use File | Settings | File Templates.
--%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>添加妖怪</title>
</head>
<body>
<h3>添加妖怪~~~</h3>
<form:form action="save" method="post" modelAttribute="monster">
    妖怪名字:<form:input path="name"/> <form:errors path="name" cssStyle="color: red"/><br><br>
    妖怪年龄:<form:input path="age"/> <form:errors path="age" cssStyle="color: red"/><br><br>
    妖怪邮箱:<form:input path="email"/> <form:errors path="email" cssStyle="color: red"/><br><br>
    妖怪生日:<form:input path="birthday"/> <form:errors path="birthday" cssStyle="color: red"/>格式要求:1997-06-10<br><br>
    妖怪工资:<form:input path="salary"/> <form:errors path="salary" cssStyle="color: red"/>格式要求:123,456.78<br><br>
    <input type="submit" value="添加妖怪">
</form:form>

</body>
</html>
